package com.k2data.k2app.mapper;

import com.k2data.k2app.domain.SysMessage;
import com.k2data.k2app.mybatis.mapper.K2Mapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface SysMessageMapper extends K2Mapper<SysMessage> {
    SysMessage get(Long id);
    int updateFlag(Long id);
    List<SysMessage> getByType(String type);
}